﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;



namespace DAO
{
    public class BoKetNoiCSDL
    {
        public static OleDbConnection TaoKetNoi()
        {
            DatabaseInfo dbInfo = new DatabaseInfo();
            string cnnString = String.Format("Provider={0};Data Source={1}", dbInfo.Provider, dbInfo.DataSource);
            return new OleDbConnection(cnnString);
        }
    }
}
